package cc.shacocloud.kotlin.tools.jdbc

import java.sql.SQLWarning

/**
 *
 * sql 警告异常
 * @author 思追(shaco)
 */
class SQLWarningException(msg: String, ex: SQLWarning) : RuntimeException(msg, ex) {

    fun SQLWarning(): SQLWarning {
        return cause as SQLWarning
    }
}
